package com.hongdee.scm.approvalflow.service;

import com.hongdee.scm.approvalflow.entity.TScmApprovalflowDetail;

import java.util.Map;

/**
 * 名  称:ITScmApprovalDetailService
 * 类  型:interface
 * 描  述:
 * 路  径:com.hongdee.scm.approvalflow.service
 * 作  者: 术洪超
 * 日  期:2017-06-19 19:02
 */
public interface ITScmApprovalflowDetailService {

    public Map save(TScmApprovalflowDetail data, String approvalflowPId, String uid) throws Exception;

    public void submit(String id, String status) throws Exception;

    //public void update(String id, String status) throws Exception;
    /**
     * 审批明细分页
     *
     * @param data
     * @param start
     * @param limit
     * @param uid
     * @return
     * @throws Exception
     */
    public Map page(Map data, String start, String limit, String uid) throws Exception;
}
